package com.qinge.blog.service;

import com.github.pagehelper.PageInfo;
import com.qinge.blog.entity.BlogTag;
import com.qinge.blog.vo.BlogTagVO;
import com.qinge.blog.vo.paging.PagingReqVO;

import java.util.List;

/**
 * @author QDW
 * @date 2022-05-02 23:38:51
 * @description BlogTag service层类
 */
public interface BlogTagService {
    void add(BlogTag... blogTags);

    void addByList(List<BlogTag> blogTags);

    void removeById(String id);

    void removeBatchByIds(List<String> ids);

    void update(BlogTag blogTag);

    void upsert(BlogTag blogTag);

    BlogTag findById(String id);

    BlogTag findByTagName(String typeName);

    List<BlogTag> findByIds(List<String> ids);

    List<BlogTag> findAll();

    PageInfo<BlogTagVO> findAll(PagingReqVO<BlogTag> pagingReqVO);

    PageInfo<BlogTagVO> paging(PagingReqVO<BlogTag> pagingReqVO);
}

